package ebcs.database.bean;

import java.util.ArrayList;
import java.util.List;

public class BsProTeamInforExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BsProTeamInforExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRouidIsNull() {
            addCriterion("ROUID is null");
            return (Criteria) this;
        }

        public Criteria andRouidIsNotNull() {
            addCriterion("ROUID is not null");
            return (Criteria) this;
        }

        public Criteria andRouidEqualTo(String value) {
            addCriterion("ROUID =", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidNotEqualTo(String value) {
            addCriterion("ROUID <>", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidGreaterThan(String value) {
            addCriterion("ROUID >", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidGreaterThanOrEqualTo(String value) {
            addCriterion("ROUID >=", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidLessThan(String value) {
            addCriterion("ROUID <", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidLessThanOrEqualTo(String value) {
            addCriterion("ROUID <=", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidLike(String value) {
            addCriterion("ROUID like", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidNotLike(String value) {
            addCriterion("ROUID not like", value, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidIn(List<String> values) {
            addCriterion("ROUID in", values, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidNotIn(List<String> values) {
            addCriterion("ROUID not in", values, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidBetween(String value1, String value2) {
            addCriterion("ROUID between", value1, value2, "rouid");
            return (Criteria) this;
        }

        public Criteria andRouidNotBetween(String value1, String value2) {
            addCriterion("ROUID not between", value1, value2, "rouid");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(String value) {
            addCriterion("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(String value) {
            addCriterion("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(String value) {
            addCriterion("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(String value) {
            addCriterion("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(String value) {
            addCriterion("CREATE_DATE like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(String value) {
            addCriterion("CREATE_DATE not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<String> values) {
            addCriterion("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<String> values) {
            addCriterion("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(String value1, String value2) {
            addCriterion("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("CREATE_TIME like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("CREATE_TIME not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andProTeamNoIsNull() {
            addCriterion("PRO_TEAM_NO is null");
            return (Criteria) this;
        }

        public Criteria andProTeamNoIsNotNull() {
            addCriterion("PRO_TEAM_NO is not null");
            return (Criteria) this;
        }

        public Criteria andProTeamNoEqualTo(String value) {
            addCriterion("PRO_TEAM_NO =", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoNotEqualTo(String value) {
            addCriterion("PRO_TEAM_NO <>", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoGreaterThan(String value) {
            addCriterion("PRO_TEAM_NO >", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoGreaterThanOrEqualTo(String value) {
            addCriterion("PRO_TEAM_NO >=", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoLessThan(String value) {
            addCriterion("PRO_TEAM_NO <", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoLessThanOrEqualTo(String value) {
            addCriterion("PRO_TEAM_NO <=", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoLike(String value) {
            addCriterion("PRO_TEAM_NO like", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoNotLike(String value) {
            addCriterion("PRO_TEAM_NO not like", value, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoIn(List<String> values) {
            addCriterion("PRO_TEAM_NO in", values, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoNotIn(List<String> values) {
            addCriterion("PRO_TEAM_NO not in", values, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoBetween(String value1, String value2) {
            addCriterion("PRO_TEAM_NO between", value1, value2, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNoNotBetween(String value1, String value2) {
            addCriterion("PRO_TEAM_NO not between", value1, value2, "proTeamNo");
            return (Criteria) this;
        }

        public Criteria andProTeamNameIsNull() {
            addCriterion("PRO_TEAM_NAME is null");
            return (Criteria) this;
        }

        public Criteria andProTeamNameIsNotNull() {
            addCriterion("PRO_TEAM_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andProTeamNameEqualTo(String value) {
            addCriterion("PRO_TEAM_NAME =", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameNotEqualTo(String value) {
            addCriterion("PRO_TEAM_NAME <>", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameGreaterThan(String value) {
            addCriterion("PRO_TEAM_NAME >", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameGreaterThanOrEqualTo(String value) {
            addCriterion("PRO_TEAM_NAME >=", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameLessThan(String value) {
            addCriterion("PRO_TEAM_NAME <", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameLessThanOrEqualTo(String value) {
            addCriterion("PRO_TEAM_NAME <=", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameLike(String value) {
            addCriterion("PRO_TEAM_NAME like", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameNotLike(String value) {
            addCriterion("PRO_TEAM_NAME not like", value, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameIn(List<String> values) {
            addCriterion("PRO_TEAM_NAME in", values, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameNotIn(List<String> values) {
            addCriterion("PRO_TEAM_NAME not in", values, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameBetween(String value1, String value2) {
            addCriterion("PRO_TEAM_NAME between", value1, value2, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProTeamNameNotBetween(String value1, String value2) {
            addCriterion("PRO_TEAM_NAME not between", value1, value2, "proTeamName");
            return (Criteria) this;
        }

        public Criteria andProGroupNoIsNull() {
            addCriterion("PRO_GROUP_NO is null");
            return (Criteria) this;
        }

        public Criteria andProGroupNoIsNotNull() {
            addCriterion("PRO_GROUP_NO is not null");
            return (Criteria) this;
        }

        public Criteria andProGroupNoEqualTo(String value) {
            addCriterion("PRO_GROUP_NO =", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoNotEqualTo(String value) {
            addCriterion("PRO_GROUP_NO <>", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoGreaterThan(String value) {
            addCriterion("PRO_GROUP_NO >", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoGreaterThanOrEqualTo(String value) {
            addCriterion("PRO_GROUP_NO >=", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoLessThan(String value) {
            addCriterion("PRO_GROUP_NO <", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoLessThanOrEqualTo(String value) {
            addCriterion("PRO_GROUP_NO <=", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoLike(String value) {
            addCriterion("PRO_GROUP_NO like", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoNotLike(String value) {
            addCriterion("PRO_GROUP_NO not like", value, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoIn(List<String> values) {
            addCriterion("PRO_GROUP_NO in", values, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoNotIn(List<String> values) {
            addCriterion("PRO_GROUP_NO not in", values, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoBetween(String value1, String value2) {
            addCriterion("PRO_GROUP_NO between", value1, value2, "proGroupNo");
            return (Criteria) this;
        }

        public Criteria andProGroupNoNotBetween(String value1, String value2) {
            addCriterion("PRO_GROUP_NO not between", value1, value2, "proGroupNo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}